home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / u_man / cat1 / pmhostname.z / pmhostname
Encoding:
Text File  |  2002-10-03  |  3.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4. PPPPMMMMHHHHOOOOSSSSTTTTNNNNAAAAMMMMEEEE((((1111))))                                                    PPPPMMMMHHHHOOOOSSSSTTTTNNNNAAAAMMMMEEEE((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ppppmmmmhhhhoooossssttttnnnnaaaammmmeeee - report hostname
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      $$$$PPPPCCCCPPPP____BBBBIIIINNNNAAAADDDDMMMM____DDDDIIIIRRRR////ppppmmmmhhhhoooossssttttnnnnaaaammmmeeee [_h_o_s_t_n_a_m_e]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      ppppmmmmhhhhoooossssttttnnnnaaaammmmeeee reports the name of the host _h_o_s_t_n_a_m_e as returned by
  16.      ggggeeeetttthhhhoooossssttttbbbbyyyynnnnaaaammmmeeee(3N).
  17.  
  18.      If _h_o_s_t_n_a_m_e is not specified, then the local host name is retrieved using
  19.      ggggeeeetttthhhhoooossssttttnnnnaaaammmmeeee(2) and this is than passed to ggggeeeetttthhhhoooossssttttbbbbyyyynnnnaaaammmmeeee(3N).
  20.  
  21.      ppppmmmmhhhhoooossssttttnnnnaaaammmmeeee provides a service for shell scripts that mimics the logic
  22.      used by Performance Co-Pilot applications when trying to determine the
  23.      official name of a host.
  24.  
  25.      If ggggeeeetttthhhhoooossssttttbbbbyyyynnnnaaaammmmeeee(3N) fails, the input host name (either _h_o_s_t_n_a_m_e or the
  26.      result from calling ggggeeeetttthhhhoooossssttttnnnnaaaammmmeeee(2)) is reported.
  27.  
  28. PPPPCCCCPPPP EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT
  29.      Environment variables with the prefix PPPPCCCCPPPP____ are used to parameterize the
  30.      file and directory names used by PCP.  On each installation, the file
  31.      /_e_t_c/_p_c_p._c_o_n_f contains the local values for these variables.  The
  32.      $$$$PPPPCCCCPPPP____CCCCOOOONNNNFFFF variable may be used to specify an alternative configuration
  33.      file, as described in ppppccccpppp....ccccoooonnnnffff(4).
  34.  
  35. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  36.      nnnnaaaammmmeeeedddd(1), nnnnssssdddd(1), nnnnssssllllooooooookkkkuuuupppp(1), ggggeeeetttthhhhoooossssttttnnnnaaaammmmeeee(2), ggggeeeetttthhhhoooossssttttbbbbyyyynnnnaaaammmmeeee(3N),
  37.      ppppccccpppp....ccccoooonnnnffff(4), ppppccccpppp....eeeennnnvvvv(4) and rrrreeeessssoooollllvvvveeeerrrr(4).
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.